import request from '../utils/request'
import instance from '../utils/request'
//开发中如果遇到 数据需要全局共享是 在请求这里直接可以套用 dispatch 方法
//主页右侧文章
export const getList = () => {
  return request.get('https://bjwz.bwie.com/wipi/api/article/recommend')

}
//主页右侧Tab数据
export const HomeRightList = () => {
  return request.get('https://bjwz.bwie.com/wipi/api/tag?articleStatus=publish')
}
//主页右侧Tab数据
export const DetailRightTab = () => {
  return request.get('https://bjwz.bwie.com/wipi/api/category?articleStatus=publish')
}

//详情右侧文章
export const DetailList = () => {
  return request.get('https://bjwz.bwie.com/wipi/api/article/recommend?articleId=3bafda69-d242-4031-9659-417ab3fac38a')
}
export const gethtmlcont=()=>{
  return request.post('https://bjwz.bwie.com/wipi/api/article/48b5a1bb-e46a-4cf7-a67f-54c2a4a28c13/views')
}
export const serlist=()=>{
  return request.get('https://bjwz.bwie.com/wipi/api/search/article?keyword=1')
}
